package com.xc.h05.service.wyl;

import com.xc.h05.entity.Appointment;

import java.util.List;
import java.util.Map;

public interface AppointmentService {
    int deleteByPrimaryKey(Long id);

    int insert(Appointment record);

    int insertSelective(Appointment record);

    Appointment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Appointment record);

    int updateByPrimaryKey(Appointment record);

    // 可以根据业务需求添加更多方法，比如查询列表等
    List<Appointment> findAll();
    List<Map<String, Object>> findConsultInfo();
    //根据多个status查询
    List<Appointment> findByIds(List list,long userId);
}
